summaryrefslogtreecommitdiff
path: root/src/pages/posts/[...slug].astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/posts/[...slug].astro')
-rw-r--r--src/pages/posts/[...slug].astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro
index b8e75a2..e62b109 100644
--- a/src/pages/posts/[...slug].astro
+++ b/src/pages/posts/[...slug].astro
@@ -2,7 +2,7 @@
import { getCollection, type CollectionEntry } from "astro:content";
import Layout from "@/layouts/main.astro";
import { buttonVariants } from "@/components/ui/button";
-import PostHeader from "@/components/PostHeader.astro";
+import BlogPostCard "@/components/BlogPostCard.astro";
import OpenRing from "@/components/OpenRing.astro";
export async function getStaticPaths() {
@@ -24,7 +24,7 @@ const { Content } = await post.render();
<Layout title={`${post.data.title} | Iwan Ingman&#39;s Blog`} description={post.data.description}>
<main class="mx-auto flex w-full max-w-3xl flex-col gap-8 p-4 md:p-6">
- <PostHeader
+ <BlogPostCard
title={post.data.title}
slug={post.id}
description={post.data.description}